.class Lrexsee/ebook/PageView$1;
.super Ljava/lang/Object;
.source "PageView.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lrexsee/ebook/PageView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/ebook/PageView;


# direct methods
.method constructor <init>(Lrexsee/ebook/PageView;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    .line 303
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 13
    .param p1, "v"    # Landroid/view/View;
    .param p2, "event"    # Landroid/view/MotionEvent;

    .prologue
    const v8, 0x3db851ec    # 0.09f

    const/4 v12, 0x0

    const/4 v11, 0x1

    .line 306
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageFactory:Lrexsee/ebook/PageFactory;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$0(Lrexsee/ebook/PageView;)Lrexsee/ebook/PageFactory;

    move-result-object v6

    if-nez v6, :cond_0

    move v6, v11

    .line 365
    :goto_0
    return v6

    .line 307
    :cond_0
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->loadingIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$1(Lrexsee/ebook/PageView;)I

    move-result v6

    if-nez v6, :cond_1

    move v6, v11

    goto :goto_0

    .line 308
    :cond_1
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    .line 309
    .local v0, "action":I
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    .line 310
    .local v4, "x":F
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    .line 311
    .local v5, "y":F
    invoke-virtual {p1}, Landroid/view/View;->getWidth()I

    move-result v3

    .line 312
    .local v3, "w":I
    invoke-virtual {p1}, Landroid/view/View;->getHeight()I

    move-result v2

    .line 313
    .local v2, "h":I
    if-nez v0, :cond_8

    .line 315
    :try_start_0
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    invoke-virtual {v6}, Lrexsee/ebook/PageView;->abortAnimation()V

    .line 316
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    div-int/lit8 v7, v3, 0x2

    int-to-float v7, v7

    cmpg-float v7, v4, v7

    if-gtz v7, :cond_2

    move v7, v12

    :goto_1
    iput v7, v6, Landroid/graphics/Point;->x:I

    .line 317
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    div-int/lit8 v7, v2, 0x2

    int-to-float v7, v7

    cmpg-float v7, v5, v7

    if-gtz v7, :cond_3

    move v7, v12

    :goto_2
    iput v7, v6, Landroid/graphics/Point;->y:I

    .line 318
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    iget v6, v6, Landroid/graphics/Point;->x:I

    if-nez v6, :cond_6

    .line 319
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v6

    if-gtz v6, :cond_4

    .line 320
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v6, v6, Lrexsee/ebook/PageView;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v6, v6, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v7, "onFlipFirstPage"

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/String;

    const/4 v9, 0x0

    iget-object v10, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mId:Ljava/lang/String;
    invoke-static {v10}, Lrexsee/ebook/PageView;->access$4(Lrexsee/ebook/PageView;)Ljava/lang/String;

    move-result-object v10

    aput-object v10, v8, v9

    invoke-virtual {v6, v7, v8}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    .line 321
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    const/high16 v7, -0x3d380000    # -100.0f

    iput v7, v6, Landroid/graphics/PointF;->x:F

    move v6, v12

    .line 322
    goto :goto_0

    :cond_2
    move v7, v3

    .line 316
    goto :goto_1

    :cond_3
    move v7, v2

    .line 317
    goto :goto_2

    .line 324
    :cond_4
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageFactory:Lrexsee/ebook/PageFactory;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$0(Lrexsee/ebook/PageView;)Lrexsee/ebook/PageFactory;

    move-result-object v7

    iget-object v8, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v8}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v8

    invoke-virtual {v7, v8}, Lrexsee/ebook/PageFactory;->getPage(I)Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-static {v6, v7}, Lrexsee/ebook/PageView;->access$6(Lrexsee/ebook/PageView;Landroid/graphics/Bitmap;)V

    .line 325
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageFactory:Lrexsee/ebook/PageFactory;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$0(Lrexsee/ebook/PageView;)Lrexsee/ebook/PageFactory;

    move-result-object v7

    iget-object v8, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v8}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v8

    sub-int/2addr v8, v11

    invoke-virtual {v7, v8}, Lrexsee/ebook/PageFactory;->getPage(I)Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-static {v6, v7}, Lrexsee/ebook/PageView;->access$7(Lrexsee/ebook/PageView;Landroid/graphics/Bitmap;)V

    .line 337
    :goto_3
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iput v4, v6, Landroid/graphics/PointF;->x:F

    .line 338
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iput v5, v6, Landroid/graphics/PointF;->y:F
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 364
    :cond_5
    :goto_4
    invoke-virtual {p1}, Landroid/view/View;->postInvalidate()V

    move v6, v11

    .line 365
    goto/16 :goto_0

    .line 328
    :cond_6
    :try_start_1
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v6

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->loadingIndex:I
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$1(Lrexsee/ebook/PageView;)I

    move-result v7

    if-lt v6, v7, :cond_7

    .line 329
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    const/high16 v7, -0x3d380000    # -100.0f

    iput v7, v6, Landroid/graphics/PointF;->x:F

    .line 330
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v6, v6, Lrexsee/ebook/PageView;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v6, v6, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v7, "onFlipLastPage"

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/String;

    const/4 v9, 0x0

    iget-object v10, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mId:Ljava/lang/String;
    invoke-static {v10}, Lrexsee/ebook/PageView;->access$4(Lrexsee/ebook/PageView;)Ljava/lang/String;

    move-result-object v10

    aput-object v10, v8, v9

    invoke-virtual {v6, v7, v8}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    move v6, v12

    .line 331
    goto/16 :goto_0

    .line 333
    :cond_7
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageFactory:Lrexsee/ebook/PageFactory;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$0(Lrexsee/ebook/PageView;)Lrexsee/ebook/PageFactory;

    move-result-object v7

    iget-object v8, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v8}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v8

    invoke-virtual {v7, v8}, Lrexsee/ebook/PageFactory;->getPage(I)Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-static {v6, v7}, Lrexsee/ebook/PageView;->access$6(Lrexsee/ebook/PageView;Landroid/graphics/Bitmap;)V

    .line 334
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageFactory:Lrexsee/ebook/PageFactory;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$0(Lrexsee/ebook/PageView;)Lrexsee/ebook/PageFactory;

    move-result-object v7

    iget-object v8, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v8}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v8

    add-int/lit8 v8, v8, 0x1

    invoke-virtual {v7, v8}, Lrexsee/ebook/PageFactory;->getPage(I)Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-static {v6, v7}, Lrexsee/ebook/PageView;->access$7(Lrexsee/ebook/PageView;Landroid/graphics/Bitmap;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_3

    .line 339
    :catch_0
    move-exception v6

    move-object v1, v6

    .line 340
    .local v1, "e":Ljava/lang/Exception;
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    const-string v7, "onTouchDown"

    invoke-virtual {v1}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v8

    # invokes: Lrexsee/ebook/PageView;->error(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {v6, v7, v8}, Lrexsee/ebook/PageView;->access$8(Lrexsee/ebook/PageView;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    .line 342
    .end local v1    # "e":Ljava/lang/Exception;
    :cond_8
    const/4 v6, 0x2

    if-ne v0, v6, :cond_c

    .line 344
    :try_start_2
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    iget v6, v6, Landroid/graphics/Point;->x:I

    if-nez v6, :cond_9

    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v6

    if-lez v6, :cond_a

    :cond_9
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    iget v6, v6, Landroid/graphics/Point;->x:I

    if-lez v6, :cond_b

    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v6

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->loadingIndex:I
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$1(Lrexsee/ebook/PageView;)I

    move-result v7

    if-lt v6, v7, :cond_b

    :cond_a
    move v6, v11

    goto/16 :goto_0

    .line 345
    :cond_b
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iput v4, v6, Landroid/graphics/PointF;->x:F

    .line 346
    const/4 v6, 0x0

    cmpl-float v6, v5, v6

    if-lez v6, :cond_5

    int-to-float v6, v2

    cmpg-float v6, v5, v6

    if-gez v6, :cond_5

    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iput v5, v6, Landroid/graphics/PointF;->y:F
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto/16 :goto_4

    .line 347
    :catch_1
    move-exception v6

    move-object v1, v6

    .line 348
    .restart local v1    # "e":Ljava/lang/Exception;
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    const-string v7, "onTouchMove"

    invoke-virtual {v1}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v8

    # invokes: Lrexsee/ebook/PageView;->error(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {v6, v7, v8}, Lrexsee/ebook/PageView;->access$8(Lrexsee/ebook/PageView;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    .line 350
    .end local v1    # "e":Ljava/lang/Exception;
    :cond_c
    if-ne v0, v11, :cond_5

    .line 352
    :try_start_3
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    iget v6, v6, Landroid/graphics/Point;->x:I

    if-nez v6, :cond_d

    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v6

    if-lez v6, :cond_e

    :cond_d
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v6

    iget v6, v6, Landroid/graphics/Point;->x:I

    if-lez v6, :cond_f

    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v6

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->loadingIndex:I
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$1(Lrexsee/ebook/PageView;)I

    move-result v7

    if-lt v6, v7, :cond_f

    :cond_e
    move v6, v11

    goto/16 :goto_0

    .line 353
    :cond_f
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iget v6, v6, Landroid/graphics/PointF;->x:F

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v7

    iget v7, v7, Landroid/graphics/Point;->x:I

    int-to-float v7, v7

    sub-float/2addr v6, v7

    invoke-static {v6}, Ljava/lang/Math;->abs(F)F

    move-result v6

    div-int/lit8 v7, v3, 0x2

    int-to-float v7, v7

    cmpl-float v6, v6, v7

    if-lez v6, :cond_11

    .line 354
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v7

    iget v7, v7, Landroid/graphics/Point;->x:I

    if-nez v7, :cond_10

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v7

    sub-int/2addr v7, v11

    :goto_5
    invoke-static {v6, v7}, Lrexsee/ebook/PageView;->access$9(Lrexsee/ebook/PageView;I)V

    .line 355
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    const/16 v7, 0x4b0

    invoke-virtual {v6, v7}, Lrexsee/ebook/PageView;->startAnimation(I)V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2

    goto/16 :goto_4

    .line 360
    :catch_2
    move-exception v6

    move-object v1, v6

    .line 361
    .restart local v1    # "e":Ljava/lang/Exception;
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    const-string v7, "onTouchUp"

    invoke-virtual {v1}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v8

    # invokes: Lrexsee/ebook/PageView;->error(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {v6, v7, v8}, Lrexsee/ebook/PageView;->access$8(Lrexsee/ebook/PageView;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    .line 354
    .end local v1    # "e":Ljava/lang/Exception;
    :cond_10
    :try_start_4
    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mPageIndex:I
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$3(Lrexsee/ebook/PageView;)I

    move-result v7

    add-int/lit8 v7, v7, 0x1

    goto :goto_5

    .line 357
    :cond_11
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v7

    iget v7, v7, Landroid/graphics/Point;->x:I

    int-to-float v7, v7

    sub-float/2addr v7, v8

    iput v7, v6, Landroid/graphics/PointF;->x:F

    .line 358
    iget-object v6, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mTouch:Landroid/graphics/PointF;
    invoke-static {v6}, Lrexsee/ebook/PageView;->access$5(Lrexsee/ebook/PageView;)Landroid/graphics/PointF;

    move-result-object v6

    iget-object v7, p0, Lrexsee/ebook/PageView$1;->this$0:Lrexsee/ebook/PageView;

    # getter for: Lrexsee/ebook/PageView;->mCorner:Landroid/graphics/Point;
    invoke-static {v7}, Lrexsee/ebook/PageView;->access$2(Lrexsee/ebook/PageView;)Landroid/graphics/Point;

    move-result-object v7

    iget v7, v7, Landroid/graphics/Point;->y:I

    int-to-float v7, v7

    sub-float/2addr v7, v8

    iput v7, v6, Landroid/graphics/PointF;->y:F
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2

    goto/16 :goto_4
.end method
